# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=aml
pkgver=0.3.0
pkgrel=1
pkgdesc="Andri's Main Loop"
url="https://github.com/any1/aml"
license="ISC"
arch="all"
makedepends="meson bsd-compat-headers"
subpackages="$pkgname-dbg $pkgname-dev"
source="https://github.com/any1/aml/archive/v$pkgver/aml-$pkgver.tar.gz"
options="!check" # no test suite

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
7c3347ef47ace8a14860e2b46937c8ade3712aa75a8c36845594fb4fa6ca26c35320b5234574accff451ea8302f23075acbe1a1b0392f5fbcbbbda20640be1fd  aml-0.3.0.tar.gz
"
